-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] containerinstance/resource-manager (#2320)
* [AutoPR containerinstance/resource-manager] Adding April Swagger For GA (#2309) * Generated from 3f1cb3ecea72fb963c8c89dcce5a4a3fe378e878 Adding GA Swagger * Generated from ab364c6f9db63bf093fc85506577245a35f1fbb4 Moving read only to property level * [AutoPR containerinstance/resource-manager] Adding June Swagger Update - Azure Container Instance (#2676) * Generated from dd1d82ca6db8078870ccf13fe430a75a1ebe90d7 updating api version * Generated from 2988a6ef3f5b633295691d3c0bacdd5cce3fb651 updating basic information to point at correct tag * Auto conf for ACI * ACI 1.0.0 * Update ChangeLog again * Adding new recording * [AutoPR containerinstance/resource-manager] Container Instance - Fix Mistake in June Update (#2740) * Generated from 56a24ff7a0bf5903c623c562734aae727189cf22 fixing old mistake with exec request * Generated from 1c3ce366b0de6230300a2293c500204e7a89e8db Update readme.md * ChangeLog update * [AutoPR containerinstance/resource-manager] Container Instance - Update Fields For Easier to Understand Documentation (#2755) * Generated from a58ad31ca0f190c08d519f0e57f0251b719de4c3 Udpating other fields to have better documentation * Generated from 57c26f8ddc6cce63febe8113dcf5a0c4e638c1ea Changing Container_Exec -> Conatiner_ExecuteCommand for better understanding * Adding tests for new changes * adding tests for container group diagnostics * removing yolo3301 from autoreviewer for ACI
- Loading branch information
1 parent
9ccc91a
commit 223ddb6
Showing
85 changed files
with
2,276 additions
and
439 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
azure-mgmt-containerinstance/azure/mgmt/containerinstance/models/azure_file_volume_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AzureFileVolume(Model): | ||
"""The properties of the Azure File volume. Azure File shares are mounted as | ||
volumes. | ||
All required parameters must be populated in order to send to Azure. | ||
:param share_name: Required. The name of the Azure File share to be | ||
mounted as a volume. | ||
:type share_name: str | ||
:param read_only: The flag indicating whether the Azure File shared | ||
mounted as a volume is read-only. | ||
:type read_only: bool | ||
:param storage_account_name: Required. The name of the storage account | ||
that contains the Azure File share. | ||
:type storage_account_name: str | ||
:param storage_account_key: The storage account access key used to access | ||
the Azure File share. | ||
:type storage_account_key: str | ||
""" | ||
|
||
_validation = { | ||
'share_name': {'required': True}, | ||
'storage_account_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'share_name': {'key': 'shareName', 'type': 'str'}, | ||
'read_only': {'key': 'readOnly', 'type': 'bool'}, | ||
'storage_account_name': {'key': 'storageAccountName', 'type': 'str'}, | ||
'storage_account_key': {'key': 'storageAccountKey', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, share_name: str, storage_account_name: str, read_only: bool=None, storage_account_key: str=None, **kwargs) -> None: | ||
super(AzureFileVolume, self).__init__(**kwargs) | ||
self.share_name = share_name | ||
self.read_only = read_only | ||
self.storage_account_name = storage_account_name | ||
self.storage_account_key = storage_account_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.