Example #1
0
 internal OSFamily(ArmResource options, OSFamilyData resource) : base(options, resource.Id)
 {
     HasData            = true;
     _data              = resource;
     _clientDiagnostics = new ClientDiagnostics(ClientOptions);
     _cloudServiceOperatingSystemsRestClient = new CloudServiceOperatingSystemsRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
 }
Example #2
0
        internal OSFamily(ArmResource options, OSFamilyData data) : base(options, data.Id)
        {
            HasData            = true;
            _data              = data;
            _clientDiagnostics = new ClientDiagnostics(ClientOptions);
            _cloudServiceOperatingSystemsRestClient = new CloudServiceOperatingSystemsRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }
 internal OSFamilyResource(ArmClient client, OSFamilyData data) : this(client, data.Id)
 {
     HasData = true;
     _data   = data;
 }
 internal OSFamily(ArmClient armClient, OSFamilyData data) : this(armClient, data.Id)
 {
     HasData = true;
     _data   = data;
 }