Skip to content

Commit 67f5a3a

Browse files
committed
update name
1 parent 5278e73 commit 67f5a3a

5 files changed

Lines changed: 14 additions & 12 deletions

File tree

sdk/batch/azure-batch/apiview-properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"azure.batch.models.OutputFile": "Azure.Batch.OutputFile",
129129
"azure.batch.models.OutputFileBlobContainerDestination": "Azure.Batch.OutputFileBlobContainerDestination",
130130
"azure.batch.models.OutputFileDestination": "Azure.Batch.OutputFileDestination",
131-
"azure.batch.models.OutputFileUploadConfig": "Azure.Batch.OutputFileUploadConfig",
131+
"azure.batch.models.OutputFileUploadConfiguration": "Azure.Batch.OutputFileUploadConfig",
132132
"azure.batch.models.OutputFileUploadHeader": "Azure.Batch.OutputFileUploadHeader",
133133
"azure.batch.models.ProxyAgentSettings": "Azure.Batch.ProxyAgentSettings",
134134
"azure.batch.models.RecentBatchJob": "Azure.Batch.RecentBatchJob",

sdk/batch/azure-batch/azure/batch/models/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
OutputFile,
142142
OutputFileBlobContainerDestination,
143143
OutputFileDestination,
144-
OutputFileUploadConfig,
144+
OutputFileUploadConfiguration,
145145
OutputFileUploadHeader,
146146
ProxyAgentSettings,
147147
RecentBatchJob,
@@ -346,7 +346,7 @@
346346
"OutputFile",
347347
"OutputFileBlobContainerDestination",
348348
"OutputFileDestination",
349-
"OutputFileUploadConfig",
349+
"OutputFileUploadConfiguration",
350350
"OutputFileUploadHeader",
351351
"ProxyAgentSettings",
352352
"RecentBatchJob",

sdk/batch/azure-batch/azure/batch/models/_models.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9864,7 +9864,7 @@ class OutputFile(_Model):
98649864
:vartype destination: ~azure.batch.models.OutputFileDestination
98659865
:ivar upload_options: Additional options for the upload operation, including under what
98669866
conditions to perform the upload. Required.
9867-
:vartype upload_options: ~azure.batch.models.OutputFileUploadConfig
9867+
:vartype upload_options: ~azure.batch.models.OutputFileUploadConfiguration
98689868
"""
98699869

98709870
file_pattern: str = rest_field(name="filePattern", visibility=["read", "create", "update", "delete", "query"])
@@ -9886,7 +9886,7 @@ class OutputFile(_Model):
98869886
visibility=["read", "create", "update", "delete", "query"]
98879887
)
98889888
"""The destination for the output file(s). Required."""
9889-
upload_options: "_models.OutputFileUploadConfig" = rest_field(
9889+
upload_options: "_models.OutputFileUploadConfiguration" = rest_field(
98909890
name="uploadOptions", visibility=["read", "create", "update", "delete", "query"]
98919891
)
98929892
"""Additional options for the upload operation, including under what conditions to perform the
@@ -9898,7 +9898,7 @@ def __init__(
98989898
*,
98999899
file_pattern: str,
99009900
destination: "_models.OutputFileDestination",
9901-
upload_options: "_models.OutputFileUploadConfig",
9901+
upload_options: "_models.OutputFileUploadConfiguration",
99029902
) -> None: ...
99039903

99049904
@overload
@@ -10014,7 +10014,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
1001410014
super().__init__(*args, **kwargs)
1001510015

1001610016

10017-
class OutputFileUploadConfig(_Model):
10017+
class OutputFileUploadConfiguration(_Model):
1001810018
"""Options for an output file upload operation, including under what conditions to perform the
1001910019
upload.
1002010020

@@ -10917,8 +10917,10 @@ class VirtualMachineConfiguration(_Model):
1091710917
"""This only applies to Images that contain the Windows operating system, and
1091810918
should only be used when you hold valid on-premises licenses for the Compute
1091910919
Nodes which will be deployed. If omitted, no on-premises licensing discount is
10920-
applied. Values are: Windows_Server (the on-premises license is for Windows
10921-
Server) and Windows_Client (the on-premises license is for Windows Client)."""
10920+
applied. Values are:
10921+
10922+
Server.
10923+
Windows_Client - The on-premises license is for Windows Client."""
1092210924
container_configuration: Optional["_models.BatchContainerConfiguration"] = rest_field(
1092310925
name="containerConfiguration", visibility=["read", "create", "update", "delete", "query"]
1092410926
)

sdk/batch/azure-batch/tests/test_batch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ async def test_batch_tasks(self, client: BatchClient, **kwargs):
11261126
container_url=container_url, path="taskLogs/output.txt"
11271127
)
11281128
),
1129-
upload_options=models.OutputFileUploadConfig(
1129+
upload_options=models.OutputFileUploadConfiguration(
11301130
upload_condition=models.OutputFileUploadCondition.TASK_COMPLETION
11311131
),
11321132
),
@@ -1137,7 +1137,7 @@ async def test_batch_tasks(self, client: BatchClient, **kwargs):
11371137
container_url=container_url, path="taskLogs/error.txt"
11381138
)
11391139
),
1140-
upload_options=models.OutputFileUploadConfig(
1140+
upload_options=models.OutputFileUploadConfiguration(
11411141
upload_condition=models.OutputFileUploadCondition.TASK_FAILURE
11421142
),
11431143
),
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
directory: specification/batch/data-plane/Batch
2-
commit: 1a0316a4c6c6c7caee666fa8023dc12c4ad37f55
2+
commit: 3cc80d86e8e1b8839fc2ea665e0fc6ee264f7c34
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)