Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .resource import Resource
class GatewayResource(Resource):
"""Data model for an arm gateway resource.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: Resource Manager Resource ID.
:vartype id: str
:ivar type: Resource Manager Resource Type.
:vartype type: str
:ivar name: Resource Manager Resource Name.
:vartype name: str
:ivar location: Resource Manager Resource Location.
:vartype location: str
:param tags: Resource Manager Resource Tags.
:type tags: dict[str, str]
:param etag:
# 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 .resource import Resource
class SessionResource(Resource):
"""The session object.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: Resource Manager Resource ID.
:vartype id: str
:ivar type: Resource Manager Resource Type.
:vartype type: str
:ivar name: Resource Manager Resource Name.
:vartype name: str
:ivar location: Resource Manager Resource Location.
:vartype location: str
:param tags: Resource Manager Resource Tags.
:type tags: dict[str, str]
:param etag:
# 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 .resource import Resource
class PowerShellCommandStatus(Resource):
"""Result status from invoking a PowerShell command.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: Resource Manager Resource ID.
:vartype id: str
:ivar type: Resource Manager Resource Type.
:vartype type: str
:ivar name: Resource Manager Resource Name.
:vartype name: str
:ivar location: Resource Manager Resource Location.
:vartype location: str
:param tags: Resource Manager Resource Tags.
:type tags: dict[str, str]
:param etag:
# 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 .resource import Resource
class PowerShellSessionResource(Resource):
"""A PowerShell session resource (practically equivalent to a runspace
instance).
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: Resource Manager Resource ID.
:vartype id: str
:ivar type: Resource Manager Resource Type.
:vartype type: str
:ivar name: Resource Manager Resource Name.
:vartype name: str
:ivar location: Resource Manager Resource Location.
:vartype location: str
:param tags: Resource Manager Resource Tags.
:type tags: dict[str, str]
def __init__(self, **kwargs):
super(Resource, self).__init__(**kwargs)
self.id = None
self.type = None
self.name = None
self.location = None
self.tags = kwargs.get('tags', None)
self.etag = kwargs.get('etag', None)
# 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 .resource import Resource
class NodeResource(Resource):
"""A Node Resource.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: Resource Manager Resource ID.
:vartype id: str
:ivar type: Resource Manager Resource Type.
:vartype type: str
:ivar name: Resource Manager Resource Name.
:vartype name: str
:ivar location: Resource Manager Resource Location.
:vartype location: str
:param tags: Resource Manager Resource Tags.
:type tags: dict[str, str]
:param etag: