Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(AdditionalFeaturesServerConfigurations, self).__init__(**kwargs)
self.is_rservices_enabled = kwargs.get('is_rservices_enabled', None)
def __init__(self, *, is_rservices_enabled: bool=None, **kwargs) -> None:
super(AdditionalFeaturesServerConfigurations, self).__init__(**kwargs)
self.is_rservices_enabled = is_rservices_enabled
def __init__(self, **kwargs):
super(LoadBalancerConfiguration, self).__init__(**kwargs)
self.private_ip_address = kwargs.get('private_ip_address', None)
self.public_ip_address_resource_id = kwargs.get('public_ip_address_resource_id', None)
self.load_balancer_resource_id = kwargs.get('load_balancer_resource_id', None)
self.probe_port = kwargs.get('probe_port', None)
self.sql_virtual_machine_instances = kwargs.get('sql_virtual_machine_instances', None)
def __init__(self, *, private_ip_address=None, public_ip_address_resource_id: str=None, load_balancer_resource_id: str=None, probe_port: int=None, sql_virtual_machine_instances=None, **kwargs) -> None:
super(LoadBalancerConfiguration, self).__init__(**kwargs)
self.private_ip_address = private_ip_address
self.public_ip_address_resource_id = public_ip_address_resource_id
self.load_balancer_resource_id = load_balancer_resource_id
self.probe_port = probe_port
self.sql_virtual_machine_instances = sql_virtual_machine_instances
def __init__(self, **kwargs):
super(SqlStorageUpdateSettings, self).__init__(**kwargs)
self.disk_count = kwargs.get('disk_count', None)
self.disk_configuration_type = kwargs.get('disk_configuration_type', None)
self.starting_device_id = kwargs.get('starting_device_id', None)
def __init__(self, *, disk_count: int=None, disk_configuration_type=None, starting_device_id: int=None, **kwargs) -> None:
super(SqlStorageUpdateSettings, self).__init__(**kwargs)
self.disk_count = disk_count
self.disk_configuration_type = disk_configuration_type
self.starting_device_id = starting_device_id
def __init__(self, *, location: str, tags=None, sql_image_offer: str=None, sql_image_sku=None, wsfc_domain_profile=None, **kwargs) -> None:
super(SqlVirtualMachineGroup, self).__init__(location=location, tags=tags, **kwargs)
self.provisioning_state = None
self.sql_image_offer = sql_image_offer
self.sql_image_sku = sql_image_sku
self.scale_type = None
self.cluster_manager_type = None
self.cluster_configuration = None
self.wsfc_domain_profile = wsfc_domain_profile
# 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 .tracked_resource_py3 import TrackedResource
class SqlVirtualMachineGroup(TrackedResource):
"""A SQL virtual machine group.
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
:ivar id: Resource ID.
:vartype id: str
:ivar name: Resource name.
:vartype name: str
:ivar type: Resource type.
:vartype type: str
:param location: Required. Resource location.
:type location: str
:param tags: Resource tags.